package com.tqjc.system.core.pipeline;

import com.tqjc.system.common.entity.VO.BasicResultVO;
import lombok.Data;

/**
 * @author 86195
 * @version 1.0
 * @description 责任链上下文对象
 * @date 2023/10/17 9:04
 */
@Data
public class ProcessContext<T extends ProcessModel> {

    private T processModel;

    /**
     * 责任编码
     */
    private String code;

    /**
     * 中断标识
     */
    private Boolean breakFlag;

    /**
     * 流程处理的结果
     */
    private BasicResultVO response;
}
